package com.zn.entity;

/**
 * Created by yinji on 2018/10/25.
 * 合约深度行情对象
 */
public class OptionMarketDataField {
    /**交割年份**/
    private String deliveryYear;
    /**交割月**/
    private String deliveryMonth;
    /**合约月份**/
    private String instrumentMonth;
    /**购(1)/沽(2)**/
    private String instrumentType;
    /**基础商品代码**/
    private String targetCode;
    /**到期距离天数**/
    private Integer remainderDays;
    /**到期日**/
    private String expireDay;
    /**合约code**/
    private String instrumentCode;
    /**合约名称**/
    private String instrumentName;
    /**最新价**/
    private String lastPrice;
    /**持仓量**/
    private String openInterest;
    /**行权价**/
    private String execsPrice;
    /**昨收盘**/
    private String preClosePrice;
    /**今开盘**/
    private String openPrice;
    /**涨停板价**/
    private String upperLimitPrice;
    /**跌停板价**/
    private String lowerLimitPrice;
    /**申卖价五**/
    private String askPrice5;
    /**申卖量五**/
    private String askVolume5;
    /**申卖价四**/
    private String askPrice4;
    /**申卖量四**/
    private String askVolume4;
    /**申卖价三**/
    private String askPrice3;
    /**申卖量三**/
    private String askVolume3;
    /**申卖价二**/
    private String askPrice2;
    /**申卖量二**/
    private String askVolume2;
    /**申卖价一**/
    private String askPrice1;
    /**申卖量一**/
    private String askVolume1;
    /**申买价一**/
    private String bidPrice1;
    /**申买量一**/
    private String bidVolume1;
    /**申买价二**/
    private String bidPrice2;
    /**申买量二**/
    private String bidVolume2;
    /**申买价三**/
    private String bidPrice3;
    /**申买量三**/
    private String bidVolume3;
    /**申买价四**/
    private String bidPrice4;
    /**申买量四**/
    private String bidVolume4;
    /**申买价五**/
    private String bidPrice5;
    /**申买量五**/
    private String bidVolume5;
    /**最后修改时间**/
    private String updateTime;
    /**最高价**/
    private String highPrice;
    /**最低价**/
    private String lowPrice;
    /**成交量**/
    private String volume;
    /**成交额**/
    private String turnover;

    public OptionMarketDataField(){}

    public OptionMarketDataField(String deliveryYear, String deliveryMonth, String instrumentMonth, String instrumentType, String targetCode, Integer remainderDays,
                                 String instrumentCode, String instrumentName, String lastPrice, String openInterest, String execsPrice, String preClosePrice,
                                 String openPrice, String upperLimitPrice, String lowerLimitPrice, String askPrice5, String askVolume5, String askPrice4,
                                 String askVolume4, String askPrice3, String askVolume3, String askPrice2, String askVolume2, String askPrice1, String askVolume1,
                                 String bidPrice1, String bidVolume1, String bidPrice2, String bidVolume2, String bidPrice3, String bidVolume3, String bidPrice4,
                                 String bidVolume4, String bidPrice5, String bidVolume5, String updateTime, String highPrice, String lowPrice, String volume, String turnover, String expireDay) {

        this.deliveryYear = deliveryYear;
        this.deliveryMonth = deliveryMonth;
        this.instrumentMonth = instrumentMonth;
        this.instrumentType = instrumentType;
        this.targetCode = targetCode;
        this.remainderDays = remainderDays;
        this.instrumentCode = instrumentCode;
        this.instrumentName = instrumentName;
        this.lastPrice = lastPrice;
        this.openInterest = openInterest;
        this.execsPrice = execsPrice;
        this.preClosePrice = preClosePrice;
        this.openPrice = openPrice;
        this.upperLimitPrice = upperLimitPrice;
        this.lowerLimitPrice = lowerLimitPrice;
        this.askPrice5 = askPrice5;
        this.askVolume5 = askVolume5;
        this.askPrice4 = askPrice4;
        this.askVolume4 = askVolume4;
        this.askPrice3 = askPrice3;
        this.askVolume3 = askVolume3;
        this.askPrice2 = askPrice2;
        this.askVolume2 = askVolume2;
        this.askPrice1 = askPrice1;
        this.askVolume1 = askVolume1;
        this.bidPrice1 = bidPrice1;
        this.bidVolume1 = bidVolume1;
        this.bidPrice2 = bidPrice2;
        this.bidVolume2 = bidVolume2;
        this.bidPrice3 = bidPrice3;
        this.bidVolume3 = bidVolume3;
        this.bidPrice4 = bidPrice4;
        this.bidVolume4 = bidVolume4;
        this.bidPrice5 = bidPrice5;
        this.bidVolume5 = bidVolume5;
        this.updateTime = updateTime;
        this.highPrice = highPrice;
        this.lowPrice = lowPrice;
        this.volume = volume;
        this.turnover = turnover;
        this.expireDay = expireDay;
    }

    public String getDeliveryYear() {
        return deliveryYear;
    }

    public void setDeliveryYear(String deliveryYear) {
        this.deliveryYear = deliveryYear;
    }

    public String getDeliveryMonth() {
        return deliveryMonth;
    }

    public void setDeliveryMonth(String deliveryMonth) {
        this.deliveryMonth = deliveryMonth;
    }

    public String getInstrumentMonth() {
        return instrumentMonth;
    }

    public void setInstrumentMonth(String instrumentMonth) {
        this.instrumentMonth = instrumentMonth;
    }

    public String getInstrumentType() {
        return instrumentType;
    }

    public void setInstrumentType(String instrumentType) {
        this.instrumentType = instrumentType;
    }

    public String getTargetCode() {
        return targetCode;
    }

    public void setTargetCode(String targetCode) {
        this.targetCode = targetCode;
    }

    public Integer getRemainderDays() {
        return remainderDays;
    }

    public void setRemainderDays(Integer remainderDays) {
        this.remainderDays = remainderDays;
    }

    public String getInstrumentCode() {
        return instrumentCode;
    }

    public void setInstrumentCode(String instrumentCode) {
        this.instrumentCode = instrumentCode;
    }

    public String getInstrumentName() {
        return instrumentName;
    }

    public void setInstrumentName(String instrumentName) {
        this.instrumentName = instrumentName;
    }

    public String getLastPrice() {
        return lastPrice;
    }

    public void setLastPrice(String lastPrice) {
        this.lastPrice = lastPrice;
    }

    public String getOpenInterest() {
        return openInterest;
    }

    public void setOpenInterest(String openInterest) {
        this.openInterest = openInterest;
    }

    public String getExecsPrice() {
        return execsPrice;
    }

    public void setExecsPrice(String execsPrice) {
        this.execsPrice = execsPrice;
    }

    public String getPreClosePrice() {
        return preClosePrice;
    }

    public void setPreClosePrice(String preClosePrice) {
        this.preClosePrice = preClosePrice;
    }

    public String getOpenPrice() {
        return openPrice;
    }

    public void setOpenPrice(String openPrice) {
        this.openPrice = openPrice;
    }

    public String getUpperLimitPrice() {
        return upperLimitPrice;
    }

    public void setUpperLimitPrice(String upperLimitPrice) {
        this.upperLimitPrice = upperLimitPrice;
    }

    public String getLowerLimitPrice() {
        return lowerLimitPrice;
    }

    public void setLowerLimitPrice(String lowerLimitPrice) {
        this.lowerLimitPrice = lowerLimitPrice;
    }

    public String getAskPrice5() {
        return askPrice5;
    }

    public void setAskPrice5(String askPrice5) {
        this.askPrice5 = askPrice5;
    }

    public String getAskVolume5() {
        return askVolume5;
    }

    public void setAskVolume5(String askVolume5) {
        this.askVolume5 = askVolume5;
    }

    public String getAskPrice4() {
        return askPrice4;
    }

    public void setAskPrice4(String askPrice4) {
        this.askPrice4 = askPrice4;
    }

    public String getAskVolume4() {
        return askVolume4;
    }

    public void setAskVolume4(String askVolume4) {
        this.askVolume4 = askVolume4;
    }

    public String getAskPrice3() {
        return askPrice3;
    }

    public void setAskPrice3(String askPrice3) {
        this.askPrice3 = askPrice3;
    }

    public String getAskVolume3() {
        return askVolume3;
    }

    public void setAskVolume3(String askVolume3) {
        this.askVolume3 = askVolume3;
    }

    public String getAskPrice2() {
        return askPrice2;
    }

    public void setAskPrice2(String askPrice2) {
        this.askPrice2 = askPrice2;
    }

    public String getAskVolume2() {
        return askVolume2;
    }

    public void setAskVolume2(String askVolume2) {
        this.askVolume2 = askVolume2;
    }

    public String getAskPrice1() {
        return askPrice1;
    }

    public void setAskPrice1(String askPrice1) {
        this.askPrice1 = askPrice1;
    }

    public String getAskVolume1() {
        return askVolume1;
    }

    public void setAskVolume1(String askVolume1) {
        this.askVolume1 = askVolume1;
    }

    public String getBidPrice1() {
        return bidPrice1;
    }

    public void setBidPrice1(String bidPrice1) {
        this.bidPrice1 = bidPrice1;
    }

    public String getBidVolume1() {
        return bidVolume1;
    }

    public void setBidVolume1(String bidVolume1) {
        this.bidVolume1 = bidVolume1;
    }

    public String getBidPrice2() {
        return bidPrice2;
    }

    public void setBidPrice2(String bidPrice2) {
        this.bidPrice2 = bidPrice2;
    }

    public String getBidVolume2() {
        return bidVolume2;
    }

    public void setBidVolume2(String bidVolume2) {
        this.bidVolume2 = bidVolume2;
    }

    public String getBidPrice3() {
        return bidPrice3;
    }

    public void setBidPrice3(String bidPrice3) {
        this.bidPrice3 = bidPrice3;
    }

    public String getBidVolume3() {
        return bidVolume3;
    }

    public void setBidVolume3(String bidVolume3) {
        this.bidVolume3 = bidVolume3;
    }

    public String getBidPrice4() {
        return bidPrice4;
    }

    public void setBidPrice4(String bidPrice4) {
        this.bidPrice4 = bidPrice4;
    }

    public String getBidVolume4() {
        return bidVolume4;
    }

    public void setBidVolume4(String bidVolume4) {
        this.bidVolume4 = bidVolume4;
    }

    public String getBidPrice5() {
        return bidPrice5;
    }

    public void setBidPrice5(String bidPrice5) {
        this.bidPrice5 = bidPrice5;
    }

    public String getBidVolume5() {
        return bidVolume5;
    }

    public void setBidVolume5(String bidVolume5) {
        this.bidVolume5 = bidVolume5;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getHighPrice() {
        return highPrice;
    }

    public void setHighPrice(String highPrice) {
        this.highPrice = highPrice;
    }

    public String getLowPrice() {
        return lowPrice;
    }

    public void setLowPrice(String lowPrice) {
        this.lowPrice = lowPrice;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }

    public String getTurnover() {
        return turnover;
    }

    public void setTurnover(String turnover) {
        this.turnover = turnover;
    }

    public String getExpireDay() {
        return expireDay;
    }

    public void setExpireDay(String expireDay) {
        this.expireDay = expireDay;
    }

    @Override
    public String toString() {
        return "OptionMarketDataField{" +
                "deliveryYear='" + deliveryYear + '\'' +
                ", deliveryMonth='" + deliveryMonth + '\'' +
                ", instrumentMonth='" + instrumentMonth + '\'' +
                ", instrumentType='" + instrumentType + '\'' +
                ", targetCode='" + targetCode + '\'' +
                ", remainderDays=" + remainderDays +
                ", expireDay='" + expireDay + '\'' +
                ", instrumentCode='" + instrumentCode + '\'' +
                ", instrumentName='" + instrumentName + '\'' +
                ", lastPrice='" + lastPrice + '\'' +
                ", openInterest='" + openInterest + '\'' +
                ", execsPrice='" + execsPrice + '\'' +
                ", preClosePrice='" + preClosePrice + '\'' +
                ", openPrice='" + openPrice + '\'' +
                ", upperLimitPrice='" + upperLimitPrice + '\'' +
                ", lowerLimitPrice='" + lowerLimitPrice + '\'' +
                ", askPrice5='" + askPrice5 + '\'' +
                ", askVolume5='" + askVolume5 + '\'' +
                ", askPrice4='" + askPrice4 + '\'' +
                ", askVolume4='" + askVolume4 + '\'' +
                ", askPrice3='" + askPrice3 + '\'' +
                ", askVolume3='" + askVolume3 + '\'' +
                ", askPrice2='" + askPrice2 + '\'' +
                ", askVolume2='" + askVolume2 + '\'' +
                ", askPrice1='" + askPrice1 + '\'' +
                ", askVolume1='" + askVolume1 + '\'' +
                ", bidPrice1='" + bidPrice1 + '\'' +
                ", bidVolume1='" + bidVolume1 + '\'' +
                ", bidPrice2='" + bidPrice2 + '\'' +
                ", bidVolume2='" + bidVolume2 + '\'' +
                ", bidPrice3='" + bidPrice3 + '\'' +
                ", bidVolume3='" + bidVolume3 + '\'' +
                ", bidPrice4='" + bidPrice4 + '\'' +
                ", bidVolume4='" + bidVolume4 + '\'' +
                ", bidPrice5='" + bidPrice5 + '\'' +
                ", bidVolume5='" + bidVolume5 + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", highPrice='" + highPrice + '\'' +
                ", lowPrice='" + lowPrice + '\'' +
                ", volume='" + volume + '\'' +
                ", turnover='" + turnover + '\'' +
                '}';
    }
}
